<template>
  <el-breadcrumb separator="/" v-if="brearvalue.firBrea !== ''">
    <el-breadcrumb-item><a href="/#/home">首页</a></el-breadcrumb-item>
    <el-breadcrumb-item :to="{ path: '/' }">{{
      brearvalue.firBrea
    }}</el-breadcrumb-item>
    <el-breadcrumb-item>{{ brearvalue.secnBrear }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script>
export default {
  props: ['child'],
  data() {
    return {
      // 面包屑
      brearvalue: this.child
      // 面包屑状态
    }
  },
  created: function() {}
}
</script>
<style lang="less" scoped>
.el-breadcrumb {
  margin-bottom: 15px;
}
</style>
